CtimelineView Class Reference

#include <timelineView.h>

List of all members.

Public Member Functions

virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
virtual ~CtimelineView ()
void SetSceneData ()
bool RenderFrame ()

Public Attributes

osg::Matrixd myCameraMatrix
osg::Matrixd cameraRotation
osg::Matrixd cameraTrans
double m_dxcoordinate
osg::ref_ptr< Producer::KeyboardMouse > m_KBM
osg::ref_ptr< MFCKeyboardMouseCallbacktime > m_KBMCallback
osg::ref_ptr< Producer::RenderSurface > m_RenderSurface
bool m_bInitialised
osgDB::DatabasePager * m_DatabasePager
BOOL m_bRenderSurfaceRealized
BOOL m_bModelLoaded
osg::Timer_t m_StartTick
unsigned int m_uiFrameNum
BOOL m_bGotFocus

Protected Member Functions

 CtimelineView ()
afx_msg void OnSizing (UINT fwSide, LPRECT pRect)
afx_msg void OnPaint ()
afx_msg void OnMouseMove (UINT nFlags, CPoint point)


Detailed Description

TimeLine View Class. The View that exist on the upper part of the user interface, where a TimeLine object is located.

Definition at line 8 of file timelineView.h.


Constructor & Destructor Documentation

CtimelineView::CtimelineView (   )  [protected]
 

Definition at line 72 of file timelineView.cpp.

CtimelineView::~CtimelineView (   )  [virtual]
 

Virtual destructor for the TimeLine view.

Definition at line 86 of file timelineView.cpp.

References m_bInitialised, and m_pViewer.


Member Function Documentation

afx_msg void CtimelineView::OnMouseMove (  UINT  nFlags,
CPoint  point
)  [protected]
 

Function responsible from the mouse callback to the TimeLineView.

Parameters:
nFlags 
point 

void CtimelineView::OnPaint (   )  [protected]
 

Function responsible from the paint.

Definition at line 109 of file timelineView.cpp.

References m_bInitialised, m_pViewer, RenderFrame(), and SetSceneData().

void CtimelineView::OnSizing (  UINT  fwSide,
LPRECT  pRect
)  [protected]
 

Function responsible from the resizing of the timeline.

Parameters:
fwSide 
pRect 

Definition at line 140 of file timelineView.cpp.

References RenderFrame().

BOOL CtimelineView::PreCreateWindow (  CREATESTRUCT &  cs  )  [virtual]
 

Responsible from the prerecreation of the window and initialization.

Definition at line 92 of file timelineView.cpp.

bool CtimelineView::RenderFrame (   ) 
 

Renders TimeLine frames.

Definition at line 127 of file timelineView.cpp.

References m_bInitialised, and m_pViewer.

Referenced by OnPaint(), and OnSizing().

void CtimelineView::SetSceneData (   ) 
 

Sets the scene data of the TimeLine.

Definition at line 145 of file timelineView.cpp.

References cameraRotation, cameraTrans, Timeline::getQuadGroup(), Timeline::getTimelineNode(), group, m_pViewer, myCameraMatrix, and ph.

Referenced by OnPaint().


Member Data Documentation

osg::Matrixd CtimelineView::cameraRotation
 

Camera Matrix for rotation of TimeLine.

Definition at line 52 of file timelineView.h.

Referenced by SetSceneData().

osg::Matrixd CtimelineView::cameraTrans
 

Camera Matrix for translation of TimeLine.

Definition at line 57 of file timelineView.h.

Referenced by SetSceneData().

BOOL CtimelineView::m_bGotFocus
 

A boolean variable whether the focus is gained.

Definition at line 113 of file timelineView.h.

bool CtimelineView::m_bInitialised
 

A boolean variable whether the Timeline initalized

Definition at line 83 of file timelineView.h.

Referenced by OnPaint(), RenderFrame(), and ~CtimelineView().

BOOL CtimelineView::m_bModelLoaded
 

A boolean variable whether the model has been loaded.

Definition at line 98 of file timelineView.h.

BOOL CtimelineView::m_bRenderSurfaceRealized
 

A boolean variable whether render surface has been realized

Definition at line 93 of file timelineView.h.

osgDB::DatabasePager* CtimelineView::m_DatabasePager
 

Database Pager

Definition at line 88 of file timelineView.h.

double CtimelineView::m_dxcoordinate
 

Coordinate variable.

Definition at line 62 of file timelineView.h.

osg::ref_ptr<Producer::KeyboardMouse> CtimelineView::m_KBM
 

KeyboardMouse to manage the events comming in from the TimeLine

Definition at line 68 of file timelineView.h.

osg::ref_ptr<MFCKeyboardMouseCallbacktime> CtimelineView::m_KBMCallback
 

KeyBoard Mouse Callback for TimeLine

Definition at line 73 of file timelineView.h.

osg::ref_ptr<Producer::RenderSurface> CtimelineView::m_RenderSurface
 

Producer RenderSurface used for the TimeLine rendering.

Definition at line 78 of file timelineView.h.

osg::Timer_t CtimelineView::m_StartTick
 

Start of rendering time.

Definition at line 103 of file timelineView.h.

unsigned int CtimelineView::m_uiFrameNum
 

Frame Number generated.

Definition at line 108 of file timelineView.h.

osg::Matrixd CtimelineView::myCameraMatrix
 

Camera Matrix of TimeLine

Definition at line 47 of file timelineView.h.

Referenced by SetSceneData().


The documentation for this class was generated from the following files:
Generated on Sun May 28 18:54:12 2006 for TraffEdu by  doxygen 1.4.6-NO